﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Enums
{

    public enum TeamSide
    {
        attacker, definder
    }

    public static class TeamSideExtension
    {

        public static string tomark(this TeamSide side)
        {
            switch (side)
            {
                case TeamSide.attacker:
                    return "进攻方";
                case TeamSide.definder:
                    return "防守方";
                default:
                    return string.Empty;
            }
        }
    }
}
